package com.zhenfan.pattern;

/**
 * 正常策略
 *
 * @author wangmh
 * @create 2018-11-08 14:43
 **/
public class NormalStrategy implements SaleStrategy {

    private static final NormalStrategy instance = new NormalStrategy();

    private NormalStrategy() {}

    public static NormalStrategy getInstance() {
        return instance;
    }

    @Override
    public double getPaidAmount(double amount) {
        System.out.println("正常支付：" + amount);
        return amount;
    }
}
